package com.bw.good.adapter

import com.bawei.image.LoadImageUtil
import com.bw.good.entity.GoodEntity
import com.youth.banner.adapter.BannerImageAdapter
import com.youth.banner.holder.BannerImageHolder


class BannerGoodAdapter(data: List<String>): BannerImageAdapter<String>(data){
    override fun onBindView(
        holder: BannerImageHolder,
        data: String,
        position: Int,
        size: Int
    ) {
        LoadImageUtil.loadUrl(holder.itemView.context, data, holder.imageView)
    }

}